<template>
  <div class="goods">
    <GoodsListItem v-for="(item,index) in goods" :goodsItem="item"></GoodsListItem>
  </div>
</template>

<style>
  .goods{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around
  }
</style>

<script>
import GoodsListItem from './GoodListItem'

  export default {
    name: "GoodsList",
    data() {
      return {

      }
    },
    components: {
      GoodsListItem
    },
    methods: {

    },
    created() {

    },
    props: {
      goods:{
        type: Array,
        default() {
          return []
        }
      }
    }
  }
</script>